package com.sihan.framework.etm.entity.business;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.framework.model.BaseModel;
import com.framework.mybatis.annotation.AutoGenerator;
import com.framework.mybatis.enums.IdType;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Table(name="jdx_etm_purchase_plan")
public class PurchasePlanMaster extends BaseModel implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
    @Column(name = "ID")
    @GeneratedValue(strategy = GenerationType.AUTO)
	@AutoGenerator(idType = IdType.UUID32)
	private String id;
	//采购名称
	private String name;
	//采购数量
	private BigDecimal purchaseQuantity;
	//责任人
	private String userId;
	//提交采购单时间
	private Date submitTime;
	//入库时间
	private Date inWarehouseTime;
	private Integer status;
	//购置时间
	private Date purchaseTime;
	//创建单位id
	private String createOrgId;
	//创建单位名称
	private String createOrgName;
	//发布时间
	private Date releaseTime;
	//备注
	private String remarks;
}
